package com.cxg.allsys.adminsys.service;

import com.cxg.allsys.adminsys.pojo.Expert;

import java.util.List;

public interface IExpertService {
    //分页查询
    public List<Expert> query(Integer pageIndex, Integer pageSize, String querStr);
    //根据专家ID查询
    Expert selectById(Integer expertId);
    //数据expert添加insert
    public boolean save(Expert expert);
    //数据expert更新update
    public boolean updateExpert(Expert expert);
    //管理员重置专家状态
    boolean updateExpertForEditStatus(Integer expertId,String status);
    //删除专家信息
    boolean deleteExpert(Expert expert);


}
